Next: Octals and Highlighting, Previous: Continuation Lines, Up: Code Formatting [Contents][Index]
Highlighting of keywords, comments, strings etc. can be
accomplished with font-lock. If you are using
global-font-lock-mode (in Emacs), or have
font-lock turned on in any other buffer in XEmacs,
it should also automatically work in IDLWAVE buffers. If
you’d prefer invoking font-lock individually by mode, you
can enforce it in idlwave-mode with the following
line in your .emacs:
(add-hook 'idlwave-mode-hook 'turn-on-font-lock)
IDLWAVE supports 3 increasing levels of syntax highlighting.
The variable font-lock-maximum-decoration determines
which level is selected. Individual categories of special tokens
can be selected for highlighting using the variable
idlwave-default-font-lock-items.
Items which should be fontified on the default fontification level 2.